<div class="row-fluid"><h3>Mail and Newsletter Dash</h3></div>
<div class="row-fluid">
  <div class="span8" ng-controller="newsletterController">
		<a class="btn" href="#" ng-click="sendMyMail()">Mail content</a>
		<br>
		<br>
		<div id="mail-content"><p>{{mailContent}}</p></div>
		<br><br>
  </div>
  <div class="span4">
		<p><?php echo anchor('admin/admindash/data#/newsletter/newsletter', 'View newsletter', 'class="btn btn-primary"'); ?></p>
		<p><?php echo anchor('admin/mail/newsletter_html','Generate Newsletter', 'class="btn btn-success"'); ?></p>
		<p><?php echo anchor('admin/mail/send_new_post_mail','Send Mail', 'class="btn btn-success"'); ?></p>
  </div>
</div>